{include file="public/header"/}

{include file="public/navleft"/}

    <div class="tpl-content-wrapper">
        <div class="tpl-content-page-title">
            表单
        </div>
        <ol class="am-breadcrumb">
            <li><a href="#" class="am-icon-home">首页</a></li>
            <li><a href="#">表单</a></li>
            <li class="am-active">用户详情表单</li>
        </ol>
        <div class="tpl-portlet-components">
            <div class="portlet-title">
                <div class="caption font-green bold">
                    <span class="am-icon-code"></span> 表单
                </div>
                <div class="tpl-portlet-input tpl-fz-ml">
                    <div class="portlet-input input-small input-inline">
                        <div class="input-icon right">
                            <i class="am-icon-search"></i>
                            <input type="text" class="form-control form-control-solid" placeholder="搜索..."> </div>
                    </div>
                </div>
            </div>
            <div class="tpl-block ">
                <div class="am-g tpl-amazeui-form">

                    <div class="am-u-sm-12 am-u-md-9">

                        <div class="am-g" style="margin-left: 10%">
                            <div class="am-u-md-8 am-u-sm-centered" >
                                <form class="am-form" method="post" action="{:url('user/alsale')}">
                                    <fieldset class="am-form-set">
                                        <input type="text" placeholder="业务员名称或者业务员代号 k**"  name="ywy" value="" >
                                        <input type="text" placeholder="区域名称或者区域代号(like前几位)"  name="mc"value="">
                                        <div class="am-u-sm-9 am-u-sm-push-5">
                                            <button type="submit" class="am-btn am-btn-primary">确认修改</button>
                                        </div>
                                    </fieldset>
                                </form>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
<script>
    var user = {
        /**
         * 用户删除
         * @author singwa
         */
        del:function(){
            var dh = $('input[name="str"]').val();
            var url = "/index.php/index/user/UserDel";
            var data = {'dh':dh};
            // 执行异步请求  $.post
            $.post(url,data,function(result){
                if(result.status == 0) {
                    return dialog.full(result.message);
                }
                if(result.status == 1) {
                    return dialog.full(result.message);
                }
            },'JSON');
        },
    }
</script>
<script src="__STATIC__/js/user/user.js"></script>
{include file="public/footer"/}